var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function(req, res, next) {

  var title = 'Loridem eum officiis.'

  var userData = [
  	{
  		id: 1,
  		username: 'andy',
  		age: 12
  	},
  	{
  		id: 3,
  		username: 'mark',
  		age: 23
  	}
  ];
  res.render('./users', {title, userData});
});

module.exports = router;
